package org.dwpd.service.user;

import jakarta.servlet.http.HttpServletRequest;
import org.dwpd.domain.common.Result;
import org.dwpd.domain.user.User;
import org.dwpd.domain.user.UserFans;
import org.dwpd.domain.user.UserInfo;

import java.util.List;

public interface UserService {
    Result getUserDetailById();

    Result regist(User user,String code);

    Result getMailCode(String email);

    Result login(User user, HttpServletRequest request);

    Result modifyPassword(User user,String email);

    Result updateImage(String userImage, HttpServletRequest request);

    Result updateUserInfo(UserInfo userInfo, HttpServletRequest request);

    Result queryOnSeatUsers(Integer messageId);

    Result getUserDetailByUserId(Integer userId);

    void updateUserLevel();

    List<UserFans> selectFansByIds(List<Integer> ids);
}
